Optimal. Leaf size=373 \[ \frac{d \sinh \left (c-\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Chi}\left (x d+\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}-\frac{\sqrt [3]{-1} d \sinh \left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text{Chi}\left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{9 a^{2/3} b^{4/3}}+\frac{(-1)^{2/3} d \sinh \left (c-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Chi}\left (-x d-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}+\frac{\sqrt [3]{-1} d \cosh \left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text{Shi}\left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{9 a^{2/3} b^{4/3}}+\frac{d \cosh \left (c-\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Shi}\left (x d+\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}+\frac{(-1)^{2/3} d \cosh \left (c-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Shi}\left (x d+\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}-\frac{\cosh (c+d x)}{3 b \left (a+b x^3\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.601165, antiderivative size = 373, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 5, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.263, Rules used = {5289, 5280, 3303, 3298, 3301} \[ \frac{d \sinh \left (c-\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Chi}\left (x d+\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}-\frac{\sqrt [3]{-1} d \sinh \left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text{Chi}\left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{9 a^{2/3} b^{4/3}}+\frac{(-1)^{2/3} d \sinh \left (c-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Chi}\left (-x d-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}+\frac{\sqrt [3]{-1} d \cosh \left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text{Shi}\left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{9 a^{2/3} b^{4/3}}+\frac{d \cosh \left (c-\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Shi}\left (x d+\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}+\frac{(-1)^{2/3} d \cosh \left (c-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Shi}\left (x d+\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}-\frac{\cosh (c+d x)}{3 b \left (a+b x^3\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5289
Rule 5280
Rule 3303
Rule 3298
Rule 3301
Rubi steps
\begin{align*} \int \frac{x^2 \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx &=-\frac{\cosh (c+d x)}{3 b \left (a+b x^3\right )}+\frac{d \int \frac{\sinh (c+d x)}{a+b x^3} \, dx}{3 b}\\ &=-\frac{\cosh (c+d x)}{3 b \left (a+b x^3\right )}+\frac{d \int \left (-\frac{\sinh (c+d x)}{3 a^{2/3} \left (-\sqrt [3]{a}-\sqrt [3]{b} x\right )}-\frac{\sinh (c+d x)}{3 a^{2/3} \left (-\sqrt [3]{a}+\sqrt [3]{-1} \sqrt [3]{b} x\right )}-\frac{\sinh (c+d x)}{3 a^{2/3} \left (-\sqrt [3]{a}-(-1)^{2/3} \sqrt [3]{b} x\right )}\right ) \, dx}{3 b}\\ &=-\frac{\cosh (c+d x)}{3 b \left (a+b x^3\right )}-\frac{d \int \frac{\sinh (c+d x)}{-\sqrt [3]{a}-\sqrt [3]{b} x} \, dx}{9 a^{2/3} b}-\frac{d \int \frac{\sinh (c+d x)}{-\sqrt [3]{a}+\sqrt [3]{-1} \sqrt [3]{b} x} \, dx}{9 a^{2/3} b}-\frac{d \int \frac{\sinh (c+d x)}{-\sqrt [3]{a}-(-1)^{2/3} \sqrt [3]{b} x} \, dx}{9 a^{2/3} b}\\ &=-\frac{\cosh (c+d x)}{3 b \left (a+b x^3\right )}-\frac{\left (d \cosh \left (c-\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right )\right ) \int \frac{\sinh \left (\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right )}{-\sqrt [3]{a}-\sqrt [3]{b} x} \, dx}{9 a^{2/3} b}-\frac{\left (i d \cosh \left (c+\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )\right ) \int \frac{\sin \left (\frac{(-1)^{5/6} \sqrt [3]{a} d}{\sqrt [3]{b}}-i d x\right )}{-\sqrt [3]{a}-(-1)^{2/3} \sqrt [3]{b} x} \, dx}{9 a^{2/3} b}-\frac{\left (i d \cosh \left (c-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )\right ) \int \frac{\sin \left (\frac{\sqrt [6]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-i d x\right )}{-\sqrt [3]{a}+\sqrt [3]{-1} \sqrt [3]{b} x} \, dx}{9 a^{2/3} b}-\frac{\left (d \sinh \left (c-\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right )\right ) \int \frac{\cosh \left (\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right )}{-\sqrt [3]{a}-\sqrt [3]{b} x} \, dx}{9 a^{2/3} b}-\frac{\left (d \sinh \left (c+\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )\right ) \int \frac{\cos \left (\frac{(-1)^{5/6} \sqrt [3]{a} d}{\sqrt [3]{b}}-i d x\right )}{-\sqrt [3]{a}-(-1)^{2/3} \sqrt [3]{b} x} \, dx}{9 a^{2/3} b}-\frac{\left (d \sinh \left (c-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )\right ) \int \frac{\cos \left (\frac{\sqrt [6]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-i d x\right )}{-\sqrt [3]{a}+\sqrt [3]{-1} \sqrt [3]{b} x} \, dx}{9 a^{2/3} b}\\ &=-\frac{\cosh (c+d x)}{3 b \left (a+b x^3\right )}+\frac{d \text{Chi}\left (\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right ) \sinh \left (c-\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}-\frac{\sqrt [3]{-1} d \text{Chi}\left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right ) \sinh \left (c+\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}+\frac{(-1)^{2/3} d \text{Chi}\left (-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right ) \sinh \left (c-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a^{2/3} b^{4/3}}+\frac{\sqrt [3]{-1} d \cosh \left (c+\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Shi}\left (\frac{\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{9 a^{2/3} b^{4/3}}+\frac{d \cosh \left (c-\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Shi}\left (\frac{\sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right )}{9 a^{2/3} b^{4/3}}+\frac{(-1)^{2/3} d \cosh \left (c-\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text{Shi}\left (\frac{(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right )}{9 a^{2/3} b^{4/3}}\\ \end{align*}
Mathematica [C] time = 0.159526, size = 203, normalized size = 0.54 \[ \frac{-d \text{RootSum}\left [\text{$\#$1}^3 b+a\& ,\frac{-\sinh (\text{$\#$1} d+c) \text{Chi}(d (x-\text{$\#$1}))+\cosh (\text{$\#$1} d+c) \text{Chi}(d (x-\text{$\#$1}))+\sinh (\text{$\#$1} d+c) \text{Shi}(d (x-\text{$\#$1}))-\cosh (\text{$\#$1} d+c) \text{Shi}(d (x-\text{$\#$1}))}{\text{$\#$1}^2}\& \right ]+d \text{RootSum}\left [\text{$\#$1}^3 b+a\& ,\frac{\sinh (\text{$\#$1} d+c) \text{Chi}(d (x-\text{$\#$1}))+\cosh (\text{$\#$1} d+c) \text{Chi}(d (x-\text{$\#$1}))+\sinh (\text{$\#$1} d+c) \text{Shi}(d (x-\text{$\#$1}))+\cosh (\text{$\#$1} d+c) \text{Shi}(d (x-\text{$\#$1}))}{\text{$\#$1}^2}\& \right ]-\frac{6 b \cosh (c+d x)}{a+b x^3}}{18 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.044, size = 594, normalized size = 1.6 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.22021, size = 3200, normalized size = 8.58 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2} \cosh \left (d x + c\right )}{{\left (b x^{3} + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]